using UnityEngine;

/// <summary>
/// 路障僵尸数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Zombies/ConeheadZombieData")]
public class ConeheadZombieData : ZombieData
{
    [Header("路障僵尸属性")]
    [Tooltip("基础生命值（包含路障的额外生命值）")]
    public int BaseHealth = 640;
    
    [Tooltip("路障的额外生命值")]
    public int ConeHealth = 370;
    
    [Tooltip("基础移动速度")]
    public float MoveSpeed = 0.5f;
    
    [Tooltip("攻击伤害")]
    public int AttackDamage = 100;
    
    [Tooltip("失去路障后的生命值")]
    public int HealthAfterConeLost = 200;

    private void OnEnable()
    {
        Type = ZombieType.ConeheadZombie;
        HasBucket = false;
        CanJump = false;
        Health = BaseHealth;
        BaseMoveSpeed = MoveSpeed;
    }
}

